package com.example.demo.service;

import com.example.demo.dataobject.Food;

import java.util.List;

public interface FoodService {
    List<Food> findByFoodType(Integer foodType);
    List<Food> findByFoodTypeOrderByCarbonWater(Integer foodType);
    List<Food> findByFoodTypeOrderByCarbonWaterDesc(Integer foodType);
    List<Food> findByFoodNameLikeOrderByCarbonWater(String foodName);

}
